package com.lifl.b328.garden.model;


public class CoordonneesContent implements Content{

	private static final long serialVersionUID = 1661079248362591232L;

	protected double longitude;
	protected double latitude;
	protected double altitude;
	
		public CoordonneesContent(double latitude ,double longitude, double altitude){
			this.latitude = latitude;
			this.longitude = longitude;
			this.altitude = altitude;
		}
		
		public CoordonneesContent(double latitude,double longitude){
			this(latitude,longitude,0);
		}
		
	public void setLongitude(double l){
		this.longitude = l;
	}

	public void setLatitude(double l){
		this.latitude = l;
	}
	public void setAltitude(double alt){
		this.altitude = alt;
	}

	public double getLongitude(){
		return longitude;
	}
	
	public double getLatitude(){
		return latitude;
	}
	
	public double getAltitude(){
		return altitude;
	}
}
